package com.atguigu.jxc.dao;


import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomerDao {
    List<Customer> getList(@Param("startPage") int startPage, @Param("rows") Integer rows, @Param("customerName") String customerName);

    void insert(@Param("customer") Customer customer);

    void update(@Param("customer") Customer customer);

    void delete(@Param("id") String s);

    Integer count();
}
